package com.linko.intelligent.sys.core.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.github.pagehelper.PageInfo;
import com.linko.intelligent.sys.pojo.dto.AttachDto;
import com.linko.intelligent.sys.pojo.po.Attach;
import com.linko.intelligent.sys.pojo.query.AttachQuery;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

/**
 * @Author yuan
 * @create 2024/3/15 11:42
 */
public interface AttachService extends IService<Attach> {


    public Boolean update(Long id, AttachDto dto);

    public Attach getDetail(Long id);

    public List<Attach> queryList(AttachQuery query);

    public PageInfo<Attach> queryPage(AttachQuery query);

    public Attach save(MultipartFile file, String s, String m);

    public List<Attach> saveAll(List<MultipartFile> files, String s, String m);


}
